<!-- 
    @author Wójcik Karol <wojcikk@student.agh.edu.pl>
    @licence http://www.gnu.org/copyleft/gpl.html GNU/GPL
-->

<table>
<h1>Zajecia</h1>
<% for lesson in @lessons_menu %>
<tr>
    <td>
    	<%= link_to "#{lesson.subject.name} - #{lesson.class_type.name} - (#{lesson.subject.major.name}:#{lesson.subject.year} #{lesson.semestr})", :action => 'edit',  :id => lesson.id  %>
    </td>
</tr>
<% end %>

</table>